/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: #f4f4f9; /* Soft background for the entire page */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('datacenter.jpg') no-repeat center center/cover;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.5rem;
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* Section Title Styling */
section h2 {
    font-size: 2.5rem;
    color: #007BFF;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #007BFF;
    display: block;
    margin: 0.5rem auto 0;
}

/* Dropdown styles */
.menu .dropdown {
    position: relative;
}

.menu .dropdown .arrow-down {
    font-size: 0.8rem;
    margin-left: 5px;
}

.menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none; /* Initially hidden */
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    border-radius: 5px;
    min-width: 200px;
}

.menu .dropdown-menu li {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.menu .dropdown-menu li:last-child {
    border-bottom: none;
}

.menu .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.menu .dropdown-menu li a:hover {
    background-color: #f4f4f4;
}

/* Show dropdown on hover */
.menu .dropdown:hover .dropdown-menu {
    display: block;
}

/* About Section */
.about-datacenter {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 2px solid #ddd;
}

.about-datacenter p {
    font-size: 1rem;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Features Section */
.features-benefits {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
    border-bottom: 2px solid #ddd;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.feature-item {
    flex: 1 1 calc(33.33% - 2rem);
    max-width: 320px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 1.5rem;
    color: #007BFF;
    margin-bottom: 1rem;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 2px solid #ddd;
}

.reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.reasons li {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.reasons li:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #007BFF;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .features-list, .reasons {
        flex-direction: column;
    }

    .feature-item, .reasons li {
        max-width: 100%;
    }

    .faq-item {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .features-benefits h2, .about-datacenter h2, .faq-section h2 {
        font-size: 2rem;
    }

    .feature-item {
        padding: 1rem;
    }
}
